import { reqSendSms, reqSmsLogin } from '@/api/module/userApi';
import { ElMessage } from 'element-plus';

export const useSendSmsApi = () => {
  const refresh = (mobile: string) => {
    reqSendSms({ mobile }).then((res) => {
      ElMessage({ message: res.msg });
    });
  };
  return { refresh };
};
